﻿using System;
using System.IO;
using System.Web;

namespace SampleSite
{
    public static class Utilities
    {
        public static string AutoFileName(string path)
        {
            if (String.IsNullOrEmpty(path)) return path;
            return Path.GetFileNameWithoutExtension(path).Replace("_", " ").Replace("!", "/");
        }
    }
}